import {Base} from "../../../utils/base.js";

class CourseCategory extends Base{
  constructor(){
    super()
  }

  getList(success,fail){
    this.request({
        url: '/course_category',
        success: function (res) {
            success && success(res.data)
        },
        fail:function(res){
            fail && fail(res)
        }
    })
  }
}

export {CourseCategory}